package cn.com.infcn.spider.io.input.impl;

import java.util.ArrayList;
import java.util.List;

import cn.com.infcn.spider.io.input.Input;

import com.alibaba.fastjson.JSONObject;

public class ftpInput implements Input {

	private List<JSONObject> list = new ArrayList<JSONObject>();
	
	public ftpInput(JSONObject job, String jobName) {
		
//		String server = job.getString("server");
//		String port = job.getString("port");
//		String user = job.getString("user");
//		String password = job.getString("password");
//		String path = job.getString("path");
		
		list.add(job);
	}
	
	@Override
	public List<JSONObject> all() {
		return list;
	}

}
